<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>班级学生注册</title>
</head>
<body>
    <form action="/demo2" method="post">
        输入用户名：<input type="text" name="username">
        <br/>
        输入密码：<input type="password" name="pwd">
        <br/>
        爱好：<input type="checkbox" name="hobby" value="象棋">象棋
        <input type="checkbox" name="hobby" value="钢琴">钢琴
        <input type="checkbox" name="hobby" value="篮球">篮球
        <input type="checkbox" name="hobby" value="插画">插画
        <input type="checkbox" name="hobby" value="小说">小说
        <br/>
        <input type="submit">注册
    </form>
</body>
</html>